package com.example.demo.mapper;

import com.example.demo.model.Librarian;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LibrarianMapper {
    Integer addLibrarian(Librarian librarian);

    List<Librarian> getLibrarianList();

    Integer modifyLibrarianInfo(Librarian info);

    Integer deleteLibrarian(Integer id);
}
